#pragma once
#include "EpilStatementCodeBase.h"
#include "EpilChunkCode.h"


class EpilBlockStatementCode : public EpilStatementCodeBase
{
	EPIL_CODE_DECL( BlockStatement );

public:
	EpilBlockStatementCode( const EpilLexLocation & location );
	virtual ~EpilBlockStatementCode();

	EpilChunkCode *						GetChunk() const								{ return m_chunk; }
	void								SetChunk( EpilChunkCode * chunk )				{ m_chunk = chunk; }
	virtual tstring						ToEpilCode( int indent ) const;

private:
	EpilChunkCode *						m_chunk;
};
